package top.api.service;

import top.api.common.ResUlt;
import top.api.domain.dto.PageDto;
import top.api.domain.dto.UserAddDto;
import top.api.domain.dto.UserEditDto;
import top.api.domain.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 27465
* @description 针对表【user】的数据库操作Service
* @createDate 2023-12-13 14:27:32
*/
public interface UserService extends IService<User> {

    ResUlt<?> pageList(PageDto pageDto, Integer id, String username);

    ResUlt<?> getUserInfo(Integer id);

    ResUlt<?> addUser(UserAddDto userAddDto);

    ResUlt<?> editUser(UserEditDto userEditDto);

    ResUlt<?> delUser(List<Integer> ids);
}
